-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update dependency vitest to v3 #180
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
6a6cf42
to
db787da
Compare
db787da
to
82667b1
Compare
19272ca
to
f946ae7
Compare
f946ae7
to
414d605
Compare
414d605
to
182dcb8
Compare
c0b73ca
to
42eafa6
Compare
42eafa6
to
ee367ac
Compare
ee367ac
to
4cbc446
Compare
1fe0aef
to
3dba18d
Compare
3dba18d
to
d30b7cf
Compare
5d80be4
to
2fc0497
Compare
2fc0497
to
25985e1
Compare
25985e1
to
ae8a382
Compare
ae8a382
to
49ddab9
Compare
49ddab9
to
91c4255
Compare
91c4255
to
1ad4964
Compare
1ad4964
to
b57473d
Compare
b57473d
to
ea85065
Compare
ea85065
to
41262b3
Compare
5d9a98a
to
58ec0da
Compare
83667e9
to
58ec0da
Compare
58ec0da
to
780e31b
Compare
This PR contains the following updates:
^0.34.6
->^3.0.2
Release Notes
vitest-dev/vitest (vitest)
v3.0.2
Compare Source
🐞 Bug Fixes
expect().resolves/rejects
chain typings - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7273 (fa415)View changes on GitHub
v3.0.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.0.0
Compare Source
🚨 Breaking Changes
spy.mockReset
changes - by @Lordfirespeed in https://github.com/vitest-dev/vitest/issues/6426 (db7a8)describe(..., { shuffle: boolean })
and inherit from parent suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6670 (aa1da)retry
andrepeats
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6817 (e8ce9)🚀 Features
diff
options and supportprintBasicPrototype
- by @hi-ogawa, @sheremet-va and Michał Grzegorzewski in https://github.com/vitest-dev/vitest/issues/6740 (39186)ctx.skip()
dynamically - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6805 (697c3)vitest/node
entry point and statically on Vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7029 (be8d4)diff.printBasicPrototype: false
by default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7043 (2b5c5)describe.for
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7253 (0ad28)actionTimeout
as playwright provider options - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6984 (e2c29)userEvent.copy, cut, paste
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6769 (843a6)--project=!pattern
- by @haines in https://github.com/vitest-dev/vitest/issues/6924 (ebfe9)thresholds
to support maximum uncovered items - by @jonahkagan in https://github.com/vitest-dev/vitest/issues/7061 (bde98)toHaveBeenCalledExactlyOnceWith
expect matcher - by @jacoberdman2147 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6894 (ff662)toHaveBeenCalledAfter
andtoHaveBeenCalledBefore
utility - by @Barbapapazes and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6056 (85e6f)toSatisfy
asymmetric matcher - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7022 (f691a)toBeOneOf
matcher - by @zirkelc and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6974 (3d742)summary
option forverbose
anddefault
reporters - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6893 (511b7)provide
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6813 (85c64)config
toresolveSnapshotPath
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6800 (746d8)coverageMap
in json report - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6606 (9c8f7)onTestsRerun
method to global setup context - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6803 (e26e0)🐞 Bug Fixes
cacheDir
when optimizer is enabled - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6910 (0b08b)finally
in case there is an error to avoid it getting stuck - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6951 (02194)Custom
internally - by @sheremet-va (46fc5)Custom
internally" - by @sheremet-va (db19f)Custom
type internally - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7032 (7957f)cancelCurrentRun
awaitsrunningPromise
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7168 (1dbf5)getMockImplementation
to return "once" implementation - by @chaptergy in https://github.com/vitest-dev/vitest/issues/7033 (39125)capturePrintError
logger duplicate event handlers - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7197 (e89c3)vitest/reporters
entrypoint - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7241 (aec0b)forks
pool - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7090 (8cab9)VitestRunner
type fromvitest/runners
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7240 (9b218)vitest list
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7257 (1c2b2)log-update
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7019 (6d23f)vi.mock
is present - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6810 (8d179)entries
in the browser mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7167 (423d6)console.time
with fake timers - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7207 (903f3)isolate: false
is used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6957 (426ce)dot
reporter withoutlog-update
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6943 (be969)--hideSkippedTests
in base reporter - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6988 (721a5)retry
andrepeats
counts - by @AriPerkkio and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7004 (3496a)describe.todo
as'todo'
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7171 (1d458)toMatchFileSnapshot
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7156 (a437b)toMatchSnapshot("...")
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7126 (ac9ba)@ts-expect-error
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7125 (27d34)extends: true
correctly inherits all root config properties - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7232 (798c0)View changes on GitHub
v2.1.8
Compare Source
🐞 Bug Fixes
View changes on GitHub
v2.1.7
Compare Source
🐞 Bug Fixes
pnpm.overrides
or yarn resolutions to override thevite
version in thevitest
package - the APIs are compatible.View changes on GitHub
v2.1.6
Compare Source
🚀 Features
View changes on GitHub
v2.1.5
Compare Source
🚀 Features
🐞 Bug Fixes
dangerouslyIgnoreUnhandledErrors
without base reporter - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6808 (0bf0a)unhandledRejection
even when base reporter is not used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6812 (8878b)sequence.concurrent
from theRuntimeConfig
type - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6880 (6af73).poll
,.element
,.rejects
/.resolves
, andlocator.*
weren't awaited - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6877 (93b67)enter
or'a'
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6848 (487c8)🏎 Performance
View changes on GitHub
v2.1.4
Compare Source
🚀 Features
transformIndexHtml
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6725 (16902)🐞 Bug Fixes
v=
queries to setup files imports - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6759 (b8258)toThrowError
with empty string parameter - by @shulaoda in https://github.com/vitest-dev/vitest/issues/6710 (a6129)test.extend
type exports - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6707 (e5c38)🏎 Performance
hash
to replacecreateHash
- by @btea in https://github.com/vitest-dev/vitest/issues/6703 (5d07b)View changes on GitHub
v2.1.3
Compare Source
🐞 Bug Fixes
toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6697 (e0027)/mockServiceWorker.js
instead of/__vitest_msw__
- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6687 (4b2ce)toMatchObject
diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6620 (d289e)<empty line>
logs when interleavingconsole.log/error
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6644 (9ece3)Configuration
📅 Schedule: Branch creation - "after 10am on monday,before 5pm on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.